package com.cskaoyan.bean;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author lxy
 * @create 2021-10-23 9:23
 */
@NoArgsConstructor
@Data
public class WxCommentVo {

    private UserInfoDTO userInfo = new UserInfoDTO();

    private String addTime;

    private List<String> picList;

    private String adminContent;

    private String content;

//    private String nickName;
//
//    private String avatarUrl;

    public void setNickName(String nickName) {
        //this.nickName = nickName;
        userInfo.setNickName(nickName);
    }

    public void setAvatarUrl(String avatarUrl) {
        //this.avatarUrl = avatarUrl;
        userInfo.setAvatarUrl(avatarUrl);
    }

    @NoArgsConstructor
    @Data
    public static class UserInfoDTO {

        private String nickName;

        private String avatarUrl;
    }
}
